<?php
// +----------------------------------------------------------------------
// | 用户管理验证
// +----------------------------------------------------------------------
namespace app\webapp\validate;
use think\Validate;

class Plusexam extends Validate {
	protected $rule = [
		'user_id'   => 'require|number',
		'school_id' => 'require|number',
		'answer'    => 'require',

	];

	protected $message = [
		'user_id'   =>  '{%lang_user_id}',
		'school_id' => '{%lang_school_id}',
		//登录
		'answer'    => '{%lang_answer}',
	];

	protected $scene = [
		'add' => ['user_id','school_id','answer'],
	];
}
